﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000533 RID: 1331
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FGMHFCNKNBD : IMessage<FGMHFCNKNBD>, IMessage, IEquatable<FGMHFCNKNBD>, IDeepCloneable<FGMHFCNKNBD>, IBufferMessage
	{
		// Token: 0x17001133 RID: 4403
		// (get) Token: 0x06003C1C RID: 15388 RVA: 0x000A5B7C File Offset: 0x000A3D7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FGMHFCNKNBD> Parser
		{
			get
			{
				return FGMHFCNKNBD._parser;
			}
		}

		// Token: 0x17001134 RID: 4404
		// (get) Token: 0x06003C1D RID: 15389 RVA: 0x000A5B83 File Offset: 0x000A3D83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FGMHFCNKNBDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001135 RID: 4405
		// (get) Token: 0x06003C1E RID: 15390 RVA: 0x000A5B95 File Offset: 0x000A3D95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FGMHFCNKNBD.Descriptor;
			}
		}

		// Token: 0x06003C1F RID: 15391 RVA: 0x000A5B9C File Offset: 0x000A3D9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FGMHFCNKNBD()
		{
		}

		// Token: 0x06003C20 RID: 15392 RVA: 0x000A5BA4 File Offset: 0x000A3DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FGMHFCNKNBD(FGMHFCNKNBD other) : this()
		{
			this.eIDKHHGDPAA_ = other.eIDKHHGDPAA_;
			this.isSuccess_ = other.isSuccess_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003C21 RID: 15393 RVA: 0x000A5BD5 File Offset: 0x000A3DD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FGMHFCNKNBD Clone()
		{
			return new FGMHFCNKNBD(this);
		}

		// Token: 0x17001136 RID: 4406
		// (get) Token: 0x06003C22 RID: 15394 RVA: 0x000A5BDD File Offset: 0x000A3DDD
		// (set) Token: 0x06003C23 RID: 15395 RVA: 0x000A5BE5 File Offset: 0x000A3DE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EIDKHHGDPAA
		{
			get
			{
				return this.eIDKHHGDPAA_;
			}
			set
			{
				this.eIDKHHGDPAA_ = value;
			}
		}

		// Token: 0x17001137 RID: 4407
		// (get) Token: 0x06003C24 RID: 15396 RVA: 0x000A5BEE File Offset: 0x000A3DEE
		// (set) Token: 0x06003C25 RID: 15397 RVA: 0x000A5BF6 File Offset: 0x000A3DF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsSuccess
		{
			get
			{
				return this.isSuccess_;
			}
			set
			{
				this.isSuccess_ = value;
			}
		}

		// Token: 0x06003C26 RID: 15398 RVA: 0x000A5BFF File Offset: 0x000A3DFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FGMHFCNKNBD);
		}

		// Token: 0x06003C27 RID: 15399 RVA: 0x000A5C0D File Offset: 0x000A3E0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FGMHFCNKNBD other)
		{
			return other != null && (other == this || (this.EIDKHHGDPAA == other.EIDKHHGDPAA && this.IsSuccess == other.IsSuccess && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003C28 RID: 15400 RVA: 0x000A5C4C File Offset: 0x000A3E4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EIDKHHGDPAA != 0U)
			{
				num ^= this.EIDKHHGDPAA.GetHashCode();
			}
			if (this.IsSuccess)
			{
				num ^= this.IsSuccess.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003C29 RID: 15401 RVA: 0x000A5CA4 File Offset: 0x000A3EA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003C2A RID: 15402 RVA: 0x000A5CAC File Offset: 0x000A3EAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003C2B RID: 15403 RVA: 0x000A5CB8 File Offset: 0x000A3EB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EIDKHHGDPAA != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.EIDKHHGDPAA);
			}
			if (this.IsSuccess)
			{
				output.WriteRawTag(80);
				output.WriteBool(this.IsSuccess);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003C2C RID: 15404 RVA: 0x000A5D14 File Offset: 0x000A3F14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EIDKHHGDPAA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EIDKHHGDPAA);
			}
			if (this.IsSuccess)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003C2D RID: 15405 RVA: 0x000A5D60 File Offset: 0x000A3F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FGMHFCNKNBD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EIDKHHGDPAA != 0U)
			{
				this.EIDKHHGDPAA = other.EIDKHHGDPAA;
			}
			if (other.IsSuccess)
			{
				this.IsSuccess = other.IsSuccess;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003C2E RID: 15406 RVA: 0x000A5DB0 File Offset: 0x000A3FB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003C2F RID: 15407 RVA: 0x000A5DBC File Offset: 0x000A3FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.IsSuccess = input.ReadBool();
					}
				}
				else
				{
					this.EIDKHHGDPAA = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040017D6 RID: 6102
		private static readonly MessageParser<FGMHFCNKNBD> _parser = new MessageParser<FGMHFCNKNBD>(() => new FGMHFCNKNBD());

		// Token: 0x040017D7 RID: 6103
		private UnknownFieldSet _unknownFields;

		// Token: 0x040017D8 RID: 6104
		public const int EIDKHHGDPAAFieldNumber = 6;

		// Token: 0x040017D9 RID: 6105
		private uint eIDKHHGDPAA_;

		// Token: 0x040017DA RID: 6106
		public const int IsSuccessFieldNumber = 10;

		// Token: 0x040017DB RID: 6107
		private bool isSuccess_;
	}
}
